package com.hc.sss.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * law[法律隐私表]
 * @author Administrator
 *
 */
public class Law implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer lawId;//法律id

    private String lawTitle;//法律标题

    private String lawContent;//法律内容

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lawCreateTime;//创建时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lawUpdateTime;//更新时间

    public Integer getLawId() {
        return lawId;
    }

    public void setLawId(Integer lawId) {
        this.lawId = lawId;
    }

    public String getLawTitle() {
        return lawTitle;
    }

    public void setLawTitle(String lawTitle) {
        this.lawTitle = lawTitle == null ? null : lawTitle.trim();
    }

    public String getLawContent() {
        return lawContent;
    }

    public void setLawContent(String lawContent) {
        this.lawContent = lawContent == null ? null : lawContent.trim();
    }

    public Date getLawCreateTime() {
        return lawCreateTime;
    }

    public void setLawCreateTime(Date lawCreateTime) {
        this.lawCreateTime = lawCreateTime;
    }

    public Date getLawUpdateTime() {
        return lawUpdateTime;
    }

    public void setLawUpdateTime(Date lawUpdateTime) {
        this.lawUpdateTime = lawUpdateTime;
    }
}